<ion-view title="预定向导">
  <ion-nav-buttons>
    <a class="button button-icon icon ion-ios-arrow-left" ng-click="goBackPage()"></a>
  </ion-nav-buttons>
  <ion-content class="guideorder">
    <div class="item  item-avatar">
      <img ng-src="{{guideVO.headPic}}">
      <h2 ng-bind="guideVO.userName"></h2>
      <p>服务城市：{{guideVO.serviceCity}}</p>
      <p>价格：<span ng-bind="guideVO.servicePrice | to_pricedouble"></span>/天</p>
    </div>
    <div class="list go_form">
      <style>
      .ion-datetime-picker-popup .popup-title{
        display: none;
      }
      </style>
      <div class="item " ion-datetime-picker monday-first ng-model="orderGuideData.travelStartDate">
        出行日期
        <span class="" style="float: right;">{{orderGuideData.travelStartDate | date: "yyyy-MM-dd H:mm"}}</span>
      </div>
      <div class="item item-input">
        <span class="input-label">出行天数</span>
        <input type="number" placeholder="请填写出行人数" ng-model="orderGuideData.days">
      </div>
      <div class="item item-input">
        <span class="input-label">出行人数</span>
        <input type="number" placeholder="请填写出行人数" ng-model="orderGuideData.person">
      </div>
      <!--       <div class="item item-input">
        <span class="input-label">真实姓名</span>
        <input type="text" placeholder="请填写真实姓名">
      </div>
      <div class="item item-input">
        <span class="input-label">联系方式</span>
        <input type="text" placeholder="请填写联系方式">
      </div> -->
      <div class="item item-input">
        <span class="input-label">备注（选填）</span>
        <input type="text" ng-model="orderGuideData.remarks" placeholder="请填写备注">
      </div>
      <div class="item">
        总计金额
        <span class="item-note" ng-bind="calculatePrice()/100"></span>
      </div>
      <div class="item  item-icon-left">
        <i ng-show="!ispassxy" class="icon ion-ios-circle-outline" ng-click="ispassxy=!ispassxy"></i>
        <i ng-show="ispassxy" class="ion-ios-checkmark icon calm" ng-click="ispassxy=!ispassxy"></i>
        <span class="item-note">请同意平台<a href="#/article/4">法律条款</a></span>
      </div>
    </div>
    <div class="go_sub padding">
      <div class="button button-calm button-full" ng-click="orderGuideform()">预定</div>
    </div>
  </ion-content>
</ion-view>
